import request from '@/utils/request'

export function getTopTen(data) {
  return request({
    url: `/api/order-service/report/skuTop/${data.topValue}/${data.start}/${data.end}`
  })
}

export function getOrderCount(data) {
  return request({
    url: '/api/order-service/report/orderCount',
    params: data
  })
}

export function getOrderAmount(data) {
  return request({
    url: '/api/order-service/report/orderAmount',
    params: data
  })
}
